<template>
    <view class="">
        <uni-forms :modelValue="formData" style="margin-top: 10rpx;">
            <uni-forms-item name="bugText">
                <uni-easyinput type="textarea" autoHeight v-model="formData.bugDetail" placeholder="请尽量详细描述bug详情,感谢您的贡献" />
            </uni-forms-item>
        </uni-forms>
        <button @click="submitForm">提交</button>
    </view>
</template>

<script>
	export default {
		data() {
			return {
				formData: {
					bugDetail: ""
				}
			}
		},
		methods: {
			submitForm(){
				console.log(this.bugDetail)
			}
		}
	}
</script>

<style>
	@import url("submit-bug");
</style>
